package com.jl;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * 用于部署项目到linux启动类
 * @author ljl
 * @date 2021/3/16 11:05
 */
public class Application extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(StreamDemoApplication.class);
    }
}
